package com.yjd.bi.fund.dao;

import com.yjd.bi.fund.model.BiFundsStatisticsModel;
import com.yjd.comm.base.dao.IBaseDao;

import java.util.Map;

/**
 * <b>description</b>：资金量记录数据访问接口<br>
 * <b>time</b>：2016-04-14 15:09:59 <br>
 * <b>author</b>：  chenpengfei@yijeidai.com
 */
public interface IBiFundsStatisticsDao extends IBaseDao{

	double getFundsSum(Map<String, Object> paramMap, boolean b);
	public BiFundsStatisticsModel getSummaryModel(Map paramMap, boolean write) throws Exception;
	//获取理财卡投资金额
	Double getLckSummary(Map<String, Object> paramMap, boolean b);

	/**
	 * 包含借款人的余额
	 *
	 * @param paramMap
	 * @param b
	 * @return
	 */
	double getfundsSumAllAvailable(Map<String, Object> paramMap, boolean b);

	/**
	 * 不包含借款人余额
	 *
	 * @param paramMap
	 * @param b
	 * @return
	 */
	double getfundsSumAvailable(Map<String, Object> paramMap, boolean b);
}